import Layout from '@/layout'

// 默认向外导出
export default {
  // 路由地址为/approvals，直接就有1级和默认2级组件挂载
  path: '/approvals', // 审批
  component: Layout,
  children: [
    {
      // 空字符串就是默认匹配的二级路由
      path: '',
      name: 'Approvals',
      component: () => import('@/views/approvals'),
      meta: { title: '审批', icon: 'tree-table' }
    }
  ]
}
